<%@ page contentType="text/html; charset=iso-8859-1" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://displaytag.sf.net/el" prefix="display" %>
<%@ include file="../inc/topo.jsp" %>
		<div id="breadcrumb">
			<s:text name="label.breadcrumb"/><a href="listarMenu.action">
			<s:text name="label.menu"/></a>
			<s:text name="breadcrumb.separador"/>
			<a href="listarItemMenu.action?nuMenu=${nuMenu}">
			<s:text name="label.menuSitio" /></a>
			<s:text name="breadcrumb.separador"/>		
			<s:text name="label.editar.itens"/>		
		</div>
		<br/>
		<h1><s:text name="label.editar.itens"/></h1>
		<br/>
		
		<a href="listarItemMenu.action?nuMenu=${itemMenu.nuMenu}"> <b><s:text name="label.voltar"/></b></a>
		<br/>
		<%@ include file="../inc/mensagens.jsp" %>
		<s:form action="atualizarItemMenu" validate="true">
			<s:hidden name="nuMenu"></s:hidden>
			<s:hidden name="itemMenu.nuItemMenu"></s:hidden>
			<div class="TbLEdit_row">
				<label for="itemMenu.noTitulo"><s:text name="label.titulo"/>:</label>
				<s:textfield name="itemMenu.noTitulo" id="itemMenu.noTitulo"/>
			</div>	
			
			<div class="TbLEdit_row">
				<label for="itemMenu.deAjuda"><s:text name="label.ajuda"/>:</label>
				<s:textfield name="itemMenu.deAjuda" id="itemMenu.deAjuda"/>
			</div>
			
			<div class="TbLEdit_row">
				<label for="itemMenu.nuNivel"><s:text name="label.nivel"/>:</label>
				<s:textfield name="itemMenu.nuNivel" id="itemMenu.nuNivel"/>
			</div>
			
			<div class="TbLEdit_row">
				<label for="itemMenu.nuOrdem"><s:text name="label.ordem"/>:</label>
				<s:textfield name="itemMenu.nuOrdem" id="itemMenu.nuOrdem"/>
			</div>			
			
			<div class="TbLEdit_row">
				<label for="pagina"><s:text name="pagina.nome"/>:</label>
				<s:select name="itemMenu.nuPagina" id="pagina"
					list="listPagina"
					listKey="key"
					listValue="value"		
				/>
			</div>
			
			<div class="TbLEdit_row">
				<label for="itemMenu.noLinkExterno"><s:text name="label.link"/>:</label>			
				<s:textfield name="itemMenu.noLinkExterno" id="itemMenu.noLinkExterno"/>
				<span class="help"><s:text name="label.descricaoLink"></s:text></span>		
			</div>
			
			<div class="TbLEdit_row">
				<label for="itemMenu.coEsconder"><s:text name="label.esconder"/>:</label>
				<s:checkbox name="itemMenu.coEsconder" id="itemMenu.coEsconder"/>
			</div>
			
			<div class="TbLEdit_btns">
				<s:submit name="btnGravar" key="button.label.atualizar" accesskey="s" /><s:reset name="limpar" key="button.label.limpar"/>
			</div>	
		</s:form>	
	
	<jsp:include page="../inc/final.jsp" />
